﻿using ServiceCore.Entity.Core;
using SqlSugar;
using System.Runtime.Serialization;

namespace ServiceCore.Entity.Model
{
    /// <summary>
    /// 
    /// </summary>
    [DataContract(IsReference = true)]
    [SugarTable("t_tag")]
    public class TagInfo : BaseEntity
    {
        /// <summary>
        /// 标签类型id
        /// </summary>
        [DataMember]
        public System.Int64 TagTypeId { get; set; }

        /// <summary>
        /// 名称
        /// </summary>
        [DataMember]
        public System.String Name { get; set; } = "";

        /// <summary>
        /// 标签类型名称
        /// </summary>
        [DataMember]
        [SugarColumn(IsIgnore = true)]
        public System.String TagTypeName { get; set; }

        /// <summary>
        /// 值
        /// </summary>
        [DataMember]
        [SugarColumn(IsIgnore = true)]
        public decimal DataValue { get; set; }
    }
}
